<template>
  <div>
    新增用户
    {{ $route.params.id }}

    <div>
      <el-button @click="onClick()">按我</el-button>
    </div>
  </div>
</template>

<script>
export default {
  name: "Add.vue",
  methods: {
    onClick() {
      this.axios.get('/wechatLogin/SentLoginCode?phone=15555291836').then(res => {
        console.log(res);
      })
    }
  }
}
</script>

<style scoped>

</style>
